package com.yjc.springyjcdemo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * yjc_test
 * @author 
 */
@Data
public class YjcTest implements Serializable {
    /**
     * ID
     */
    private Integer id;

    /**
     * url
     */
    private String url;

    /**
     * 状态：0->正常，1->删除
     */
    private Boolean status;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}